<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
li{
display:inline-block; /*범위가 글자길이만큼*/
width:100px; 
border: 1px solid green;
}
a{ /*글자를 가지고 있는 태그는 a이기 때문에*/
text-align: center; 
display:block;
text-decoration: none;
}
a:hover{
background-color: lime;}
a:link,a:visited{
color:blue;}

</style></head>
<body>
 <ul>
 <li><a href="http://www.naver.com">네이버로</a></li>
 <li><a href="http://www.daum.net">다음으로</a></li>
 <li><a href="http://www.nate.com">네이트로</a></li>
 <li><a href="http://www.google.com">구글로</a></li>
 </ul>
</body>
</html>